/*
 * @Author: yuki
 * @Date: 2025-10-26 09:55:18
 * @LastEditTime: 2025-11-01 23:31:28
 * @Description: jwt配置
 */
import { registerAs } from '@nestjs/config';
import type { StringValue } from 'ms';

export default registerAs('jwt', () => ({
  accessSecret: 'horoscope-access-secret-yukil',
  // 访问令牌过期时间（30天）
  accessExpiresIn: '30d' as StringValue
}));
